package com.patentbackend.patentmanage.dto;

import com.patentbackend.patentmanage.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDTO {
    private Long id;
    private String username;
    private String email;
    private String name;
    private String employeeId;
    private String organization;
    private String department;
    private String phone;
    private String avatar;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    private List<Role> roles;
    private String password;

}